home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / bin / update-dev < prev    next >
Text File  |  2008-10-29  |  375b  |  14 lines

  1. #! /bin/sh
  2. set +e    # ignore errors
  3.  
  4. # Make sure /dev is up to date after loading modules.
  5. if type udevadm >/dev/null 2>&1; then
  6.     udevadm trigger --subsystem-nomatch=net --subsystem-nomatch=sound
  7.     udevadm settle
  8. elif type udevtrigger >/dev/null 2>&1 && type udevsettle >/dev/null 2>&1; then
  9.     udevtrigger --subsystem-nomatch=net --subsystem-nomatch=sound
  10.     udevsettle
  11. fi
  12.  
  13. exit 0
  14.